body {
    background: linear-gradient(120deg, #e0e7ff 0%, #f0fdfa 100%);
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.article_container {
    z-index: 0;
    max-width: 1400px;
    margin: 2em auto 2em auto;
    padding: 1.5em 1em;
    background: rgba(245,248,255,0.98);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(37, 99, 235, 0.10);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 0.3em;
    justify-content: unset;
    align-items: stretch;
}

.article_container .article {
    z-index: 1;
    box-shadow: 0 2px 12px rgba(37,99,235,0.08);
    transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
    border-radius: 14px;
    background: linear-gradient(120deg, #f8fafc 60%, #e0f2fe 100%);
    border: 1.5px solid #e0e7ef;
    padding: 0.9em 1.5em;
    display: flex;
    flex-direction: column;
    overflow: visible;
    gap: 0.5em;
    position: relative;
    max-width: 100%;
    min-width: 0;
    margin: 0;
}
.article_container .article:hover {
    z-index: 2;
    box-shadow: 0 8px 32px rgba(37,99,235,0.18);
    transform: translateY(-2px) scale(1.01);
    border: 1.5px solid #60a5fa;
    background: linear-gradient(120deg, #f0fdfa 60%, #dbeafe 100%);
}

.article_container img {
    width: 3.2em;
    height: 3.2em;
    border-radius: 50%;
    border: 2px solid #38bdf8;
    object-fit: cover;
    background: #f0fdfa;
    box-shadow: 0 2px 8px rgba(37,99,235,0.06);
}

.article .right_content h3 {
    margin: 0 0 0.2em 0;
    font-size: 1.12em;
    color: #2563eb;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    padding: 0.1em 0;
}
.article_container .article:hover .right_content h3 {
    color: #0ea5e9;
}

.article_info {
    display: flex;
    gap: 0.7em;
    align-items: center;
    font-size: 1em;
}

.upload_time {
    color: #059669;
    font-size: 0.98em;
    letter-spacing: 0.01em;
}

.topest {
    background: linear-gradient(90deg, #f43f5e 0%, #fbbf24 100%);
    color: #fff;
    font-size: 0.92em;
    padding: 0.2em 0.7em;
    border-radius: 1em;
    margin-left: 0.5em;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(244,63,94,0.10);
}

.bottom_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
    width: 100%;
    position: relative;
}

.bottom_content > span:first-child {
    color: #334155;
    font-size: 0.98em;
    max-width: 13em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 操作菜单美化 */
.operation_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    right: 0;
    border-radius: 8px;
    border: 1.5px solid #38bdf8;
    width: 3.2em;
    min-height: 1.5em;
    height: 1.7em;
    cursor: pointer;
    background: #f0fdfa;
    box-shadow: 0 1px 4px rgba(37,99,235,0.04);
    transition: border 0.2s, background 0.2s;
    z-index: 20;
}
.operation_menu:hover {
    border: 1.5px solid #0ea5e9;
    background: #e0f2fe;
}
.operation_menu > .tip {
    width: 100%;
    padding: 0.2em 0;
    text-align: center;
    color: #0ea5e9;
    font-size: 1em;
    line-height: 1.5em;
    letter-spacing: 0.04em;
}
.operation_container {
    background: #fff;
    position: absolute;
    top: 110%;
    right: 0;
    display: none;
    overflow: hidden;
    width: 6em;
    height: 0;
    border: 1.5px solid #38bdf8;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(37,99,235,0.10);
    z-index: 9999;
    transition: height 0.2s;
}
.operation_list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}
.operation_list a {
    text-decoration: none;
    color: #0ea5e9;
    padding: 0.7em 1em;
    font-size: 1em;
    border-bottom: 1px solid #e0e7ef;
    transition: background 0.15s, color 0.15s;
}
.operation_list a:last-child {
    border-bottom: none;
}
.operation_list a:hover {
    background: #e0f2fe;
    color: #1e293b;
}

/* 清除卡片外层链接的样式 */
.article_container > a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: auto;
    width: auto;
}

/* 响应式适配 */
@media (max-width: 1100px) {
    .article_container .article {
        flex: 1 1 calc(50% - 1.2em);
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .article_container {
        grid-template-columns: 1fr;
        gap: 0.7em;
        padding: 0.5em;
    }
    .article_container .article {
        padding: 0.5em 0.3em;
    }
    .top_content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5em;
    }
    .article_container img {
        width: 2.2em;
        height: 2.2em;
    }
    .bottom_content > span:first-child {
        max-width: 6em;
    }
}
